﻿namespace RayDen.RayEngine.Engines.ManyLights
{
    public class PathBuffer : PathBuffer<MLPathSampler>
    {
        internal MLEngineContext vpls;

        protected override PathSamplerBase CreatePathSampler()
        {
            return new MLPathSampler { SurfaceSampler = surfaceSampler, pathIntegrator = this, context = vpls, LightSampler = this.lightSampler };
        }
    }
}